﻿using System.Web.Mvc;
using BoostSite.Demo.Definitions.Base.Controllers;
using BoostSite.Demo.Definitions.Templates; 
using BoostSite.Demo.Definitions.Templates.SharedBlockTypes.Promos; 
using EPiServer.Framework.DataAnnotations;

namespace BoostSite.Demo.WebMvc.Controllers.Promos
{
	[TemplateDescriptor(AvailableWithoutTag = false, Tags = new[] {Tags.Tertiary})]
	public class ImagePromoBlock_TertiaryController : BaseBlockController<ImagePromoBlock>
	{
		//
		// GET: /footer/

		public ActionResult Index(ImagePromoBlock currentBlock)
		{
			return PartialView("~/views/Promos/ImagePromoBlock/Tertiary.cshtml", currentBlock);
		}

	}

	[TemplateDescriptor(AvailableWithoutTag = true, Tags = new[] {Tags.StartPage})]
	public class ImagePromoBlock_StartPageController : BaseBlockController<ImagePromoBlock>
	{
		//
		// GET: /footer/

		public ActionResult Index(ImagePromoBlock currentBlock)
		{
			return PartialView("~/views/Promos/ImagePromoBlock/StartPage.cshtml", currentBlock);
		}

	}

}
